package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

@Comment("订单-工序")
@Getter
@Setter
@TableName("tb_order_phase")
public class OrderPhase extends BaseEntity {

    private Integer orderId;

    private Integer bomId;

    @Comment("单件工时 秒")
    private Integer workTime;

    @Comment("原始单件工时 秒")
    private Integer oriWorkTime;

    @Comment("工序链")
    private String workChain;

    @Comment("工序顺序")
    private Integer phaseSeq;

    @Comment("工序名称")
    private String phaseName;

    @Comment("工序编号")
    private String phaseCode;

    @Comment("物料编号")
    private String materNo;

    @Comment("物料名称")
    private String materName;

    @Comment("工作组编号")
    private String workGroupNumber;

    @Comment("ERP的工序工作中心")
    private String opCode;

    @Comment("ERP的工序")
    private String op;

    @TableField(exist = false)
    private Map<String, String> attr = new HashMap<>();


}
